package com.bestv.search.spider.util;

public class SpiderConst {

    public static String EMPTY = "";
    public static String NULL = "null";
    public static String SPACE = " ";
    public static String GET = "get";
    public static String POST = "post";
    public static String UTF_8 = "utf-8";
    public static String CHAR_U = "\\u";
    public static String RIGHT_SQUARE_BRACKET = "[";
    public static String LEFT_SQUARE_BRACKET = "]";
    public static String URL_SPLIT_FLAG = "&";
    public static String EQUAL_FLAG = "=";
    public static String COMMA = ",";
    public static String UNDER_LINE = "_";
    public static String LINE = "-";
    public static String POINT = ".";
    public static String COLON = ":";
    public static String QUESTION_MARK = "?";
    public static String ENTER = "\r";
    public static String TAB = "\t";
    public static String LINE_SEPARATOR = System.getProperties().getProperty("line.separator");

    public static String Q = "q";
    public static String Y = "Y";
    public static String N = "N";
    public static String MOVIES = "Movies";
    public static String MOVIE = "movie";
    public static String MOVIE_CHINESE = "电影";
    public static String TV = "TV";
    public static String TV_CHINESE = "电视剧";
    public static String ANIME = "Anime";
    public static String ANIME_CHINESE = "动漫";
    public static String CATEGORY = "category";
    public static String YEAR = "year";
    public static String PRODUCTS = "products";
    public static String ORIGINAL_NAME = "original_name";
    public static String ALIAS_NAME = "alias_name";
    public static String ALIAS = "alias";
    public static String GENRE = "genre";
    public static String RELEASE_YEAR = "release_year";
    public static String RELEASED = "released";
    public static String DESCRIPTION = "description";
    public static String HONOR = "honor";
    public static String DIRECTORS = "directors";
    public static String SCREENWRITERS = "screenwriters";
    public static String PRODUCERS = "producers";
    public static String STARRINGS = "starrings";
    public static String PERFORMERS = "performers";
    public static String ORIGINALS = "originals";
    public static String VOICES = "voices";
    public static String COMPLETED = "completed";
    public static String EPISODE_COUNT = "episode_count";
    public static String EPISODE_UPDATED = "episode_updated";
    public static String VIEW_COUNT = "view_count";
    public static String FAVORITE_COUNT = "favorite_count";
    public static String YOUKUSCORE = "youkuScore";
    public static String DOUBANSCORE = "doubanScore";
    public static String SOURCE = "source";
    public static String AREA = "area";
    public static String ORDERBY = "orderby";
    public static String UPDATED = "updated";
    public static String PAID = "paid";
    public static String PAGE = "page";
    public static String COUNT = "count";
    public static String CACHE = "cache";
    public static String NAME = "name";
    public static String COMMENTS = "comments";
    public static String SCORE = "score";
    public static String START = "start";
    public static String LIMIT = "limit";
    public static String REVIEWS = "reviews";
    public static String ID = "id";
    public static String BASE = "base";
    public static String PERSON = "person";
    public static String LINK_REPORT = "link-report";
    public static String CONTENT = "content";
    public static String PROPERTY = "property";
    public static String V_DESCRIPTION = "v:description";
    public static String V_REVIEWER = "v:reviewer";
    public static String V_DTREVIEWED = "v:dtreviewed";
    public static String CLASS = "class";
    public static String TYPE = "type";
    public static String REVIEW_SHORT_CLS = "review-short";
    public static String REVIEWS_COUNT = "reviews_count";
    public static String REVIEW_SHORT_ID_FORMAT = "review_\\d{1,}_short";
    public static String SPAN = "span";
    public static String IMG = "img";
    public static String SRC = "src";
    public static String TITLE = "title";
    public static String ROLE = "role";
    public static String LI = "li";
    public static String TR = "tr";
    public static String A = "a";
    public static String TD = "td";
    public static String RATING_LIST_CLS = "rating_list clearfix";
    public static String TOTAL = "total";
    public static String PUBLISHED = "published";
    public static String AUTHOR = "author";
    public static String USEFUL = "useful";
    public static String SUMMARY = "summary";
    public static String TEXT = "text";
    public static String DATETIME_FORMAT = "yyyyMMddHHmmss";
    public static String DATETIME_FORMAT_REGEX = "\\d{14}";
    public static String YOUKU_PERSON_IDS = "person_ids";
    public static String YOUKU_PERSON_ID = "person_id";
    public static String AVATAR_YOUKU = "avatar_youku";
    public static String AVATAR_IQIYI = "avatar_iqiyi";

    public static String PERSON_ID = "personId";
    public static String PERSON_NAME = "personName";
    public static String LASTYEAR = "lastYear";
    public static String STARTINDRX = "startIndex";
    public static String ENDINDRX = "endIndex";
    public static String GENDER = "gender";
    public static String NATIONALITY = "nationality";
    public static String BLOODTYPE = "bloodtype";
    public static String HEIGHT = "height";
    public static String OCCUPATION = "occupation";
    public static String CONSTELLATION = "constellation";
    public static String BIRTHDAY = "birthday";
    public static String HOMEPLACE = "homeplace";

    public static String DOUBLE_QUOTATION_MARKS = "\"";
    public static String BACK_SLANT = "/";
    public static String JSON_ARRAY_SPLIT = "\",\"";

    public static String CHINA_LANG_CODE = "zh_CN";
    public static String YOUKU_SHOW_SCHEMA_CATEGORY_URL = "https://openapi.youku.com/v2/schemas/show/category.json?lang="
            + CHINA_LANG_CODE;
    public static int THREAD_CHECK_INTERVAL_SECOND = 10;
    public static String SHOW_IDS = "show_ids";
    public static String VIDEO_ID = "video_id";
    public static String LEVEL_1 = "1星";
    public static String LEVEL_2 = "2星";
    public static String LEVEL_3 = "3星";
    public static String LEVEL_4 = "4星";
    public static String LEVEL_5 = "5星";
    public static String LEVEL_ALL_CHINESE = "全部";
    public static String YOUKU = "youku";
    public static int YOUKU_ACCESS_LIMIT_COUNT = 80;
    public static int YOUKU_ACCESS_INTERVAL_MINUTES = 5;
    public static String YOUKU_CLIENT_ID = "client_id";
    public static String ISRUNNING_FLAG_FILE = "isRunning.txt";
    public static String DUPLICATE_PERSON_NAME_FILE = "duplicatePersonName.txt";
    public static String YOUKU_ALL_VIDEOS_URL_FILE = "youkuAllVideosURL.txt";
    public static String YOUKU_ALL_VIDEOS_FILE = "youkuAllVideos.txt";
    public static String ALL_PERSONS_FILE = "allPersons.txt";
    public static String YOUKU_ALL_VIDEOS_COMMENTS_FILE = "youkuAllVideosComments.txt";
    public static String DOUBAN_ALL_VIDEOS_FILE = "doubanAllVideos.txt";
    public static String DOUBAN_ALL_VIDEOS_REVIEWS_FILE = "doubanAllVideosReviews.txt";
    public static String[] YOUKU_APP_KEYS = new String[]{"8718cbafd564f133", "e1d70f015e53554b", "2d724bc877d5843a",
            "723bd581702fe305", "20c6db444e03dbfb", "0288d0b881d9077c", "738a39fa3d421729", "2403aeadd72ecccd",
            "19a2c3b1fbeac56c", "d56a335c0b2c4c14"};
    public static int YOUKU_DEFAULT_PAGE_COUNT = 20;
    public static int YOUKU_COMMENTS_PAGE_COUNT = 100;
    public static String YOUKU_SHOWS_BY_CATEGORY_URL = "https://openapi.youku.com/v2/shows/by_category.json?";
    public static String YOUKU_SHOWS_DETAIL_BATCH_URL = "https://openapi.youku.com/v2/shows/show_batch.json?";
    public static String YOUKU_HOT_COMMENTS_URL = "https://openapi.youku.com/v2/comments/hot/by_video.json?";
    public static String YOUKU_PERSONS_URL = "https://openapi.youku.com/v2/persons/show_batch.json?";
    public static String YOUKU_PERSON_URL = "https://openapi.youku.com/v2/persons/show.json?";
    public static String YOUKU_PERSON_PRIZE_URL = "http://www.youku.com/star/~ajax/prize.html?u=";
    public static String SOKU_PERSON_AJAX_URL = "http://www.soku.com/soku_ajax?business=tabdata&cateId=1+2+3+4+5+8+15&sourceSite=0";

    public static String DOUBAN = "douban";
    public static String[] DOUBAN_APP_KEYS = new String[]{"0e1a832bb98336a12a4f89832c89a3e3"};
    public static String DOUBAN_DPIKEY = "apikey";
    public static String DOUBAN_AKA_FIELD = ",\"aka\":[";
    public static int DOUBAN_ACCESS_LIMIT_COUNT = 35;
    public static int DOUBAN_ACCESS_INTERVAL_MINUTES = 1;
    public static int DOUBAN_REVIEWS_USEFUL_LIMIT = 10;
    public static int DOUBAN_REVIEWS_SYNC_LIMIT = 10;
    public static int DOUBAN_REVIEWS_PAGE_COUNT = 20;

    public static String DOUBAN_API_SEARCH_URL = "http://api.douban.com/v2/movie/search?";
    public static String DOUBAN_API_SUBJECT_URL = "http://api.douban.com/v2/movie/subject/";
    public static String DOUBAN_SUBJECT_URL = "http://movie.douban.com/subject/";
    public static String DOUBAN_REVIEW_URL = "http://movie.douban.com/review/";

    public static String IQIYI = "iqiyi";
    public static String IQIYI_SEARCH_URL = "http://t.iqiyi.com/search/search.php?mod=database&key=";
    public static String IQIYI_PERSON_DIV_CLASS = "serach-list";
    public static String IQIYI_CMT60_CLASS = "cmt60 dotted clearfix";
    public static String IQIYI_CMT_INFOF14_DIV_CLASS = "cmt-info f14";
    public static String IQIYI_CMT_INFO_DIV_CLASS = "cmt-info";
    public static String IQIYI_CMT_HEAD_DIV_CLASS = "cmt-head";
    public static String HERF = "href";
    public static String IQIYI_PROF_LEFT_DIV_CLASS = "prof-left";
    public static String IQIYI_STARCARD_IMG_DIV_CLASS = "starCard-img";
}
